import request from '@/utils/request'
import qs from "qs"

export default{


 // 清空数据根据优惠券id
 deleteByDisId(disId){

           
    var data=qs.stringify({disId});

return request({
    url:'/api-operate/dis-class/deleteByDisId',
    method:"delete",
    data


})
},


// 添加数据

addOne(disId,ids){

          
    var data=qs.stringify({disId,ids});

return request({
    url:'/api-operate/dis-class/addList',
    method:"post",
    data


})

}

}